package com.imagecollector.domain.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author wrf
 * @since 2024-07-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "手机号")
    private Integer phone;

    @ApiModelProperty(value = "密码（默认pxpx123）")
    private String password;

    @ApiModelProperty(value = "地区id")
    private Integer distirctId;

    @ApiModelProperty(value = "用户角色 2客服 3管理员")
    private Integer role;

    @ApiModelProperty(value = "第三方平台用户id")
    private String openId;

    @ApiModelProperty(value = "访问令牌")
    private String accessToken;

}
